package com.qyhl.webtv.module_microvideo.shortvideo.theme;


import com.qyhl.webtv.commonlib.entity.microvideo.ShortVideoThemeBean;

import java.util.List;

public class ShortVideoThemePresenter implements ShortVideoThemeContract.ShortVideoThemePresenter {
    private ShortVideoThemeModel mModel;
    private ShortVideoThemeContract.ShortVideoThemeView mView;

    public ShortVideoThemePresenter(ShortVideoThemeContract.ShortVideoThemeView mView) {
        this.mView = mView;
        this.mModel = new ShortVideoThemeModel(this);
    }

    @Override
    public void getList(String actId) {
        mModel.getList(actId);
    }

    @Override
    public void setList(List<ShortVideoThemeBean> beanList) {
        mView.setList(beanList);
    }

    @Override
    public void setError(String msg) {
        mView.setError(msg);
    }
}
